package com.phiture.erp.common.constants;

/**
 * @author YH
 * @date 2025-04-30-13:46
 * 用户自定义配置键
 */
public class ErpUserCustomizeConfigKeyConstants {
    /**
     * MRP运算下推生产任务单，自动审批通过
     */
    public static final String ERP_PRODUCTION_TASK_DEFAULT_APPROVED = "erp_production_task_default_approved";

    /**
     * MRP运算下推采购申请单，自动审批通过
     */
    public static final String ERP_PURCHASE_REQUEST_DEFAULT_APPROVED = "erp_purchase_request_default_approved";

    /**
     * MRP运算自动下推采购订单
     */
    public static final String ERP_AUTO_CREATE_PURCHASE_ORDER = "erp_auto_create_purchase_order";

    /***
     * 系统生成单据编号末尾序号位数
     */
    public static final String ERP_SEQ_GENERATOR_LENGTH = "erp_seq_generator_length";

    /***
     * 领料出库单是否允许超出需求数量
     * true：允许
     * false：不允许
     */
    public static final String ERP_STOCK_OUT_REQ_CAN_EXCEED = "erp_stock_out_req_can_exceed";

    /***
     * 生产任务单是否允许超出需求数量
     * true：允许
     * false：不允许
     */
    public static final String ERP_PRODUCE_TASK_REPORT_CAN_EXCEED = "erp_produce_task_report_can_exceed";

    /***
     * 成品默认仓库
     */
    public static final String ERP_FINISHED_PRODUCT_DEFAULT_WAREHOUSE = "erp_finished_product_default_warehouse";

    /***
     * 半成品默认仓库
     */
    public static final String ERP_SEMI_FINISHED_PRODUCT_DEFAULT_WAREHOUSE = "erp_semi_finished_product_default_warehouse";

    /***
    * 物料默认仓库
    */
    public static final String ERP_MATERIAL_DEFAULT_WAREHOUSE = "erp_material_default_warehouse";

    /***
     * 自制件(半成品)是否进行出入库管理
     */
    public static final String ERP_SELF_MADE_IN_FLAG = "erp_self_made_in_flag";


    /***
     * 采购订单合并（物料，供应商）
     */
    public static final String ERP_MERGE_PURCHASE_ORDERS = "erp_merge_purchase_orders";

    /***
     * 生产入库倒冲JOB
     */
    public static final Long PRODUCE_IN_BACK_FLUSH_JOB_ID = 35L;
}
